﻿using System;

namespace EP.Caching.Attributes {
	[Serializable]
	[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)]
	sealed class FileCacheExpiryAttribute : Attribute {
		#region Fields / Properties
		private readonly string _fileName;
		public string FileName { get { return _fileName; } }
		#endregion

		#region Constructor
		public FileCacheExpiryAttribute(string fileName) {
			_fileName = fileName;
		}
		#endregion
	}
}
